package com.bw.merchant.adapter

import com.bumptech.glide.Glide
import com.bw.merchant.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class ImgAdapter: BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_img) {
    override fun convert(holder: BaseViewHolder, item: String) {
        Glide.with(context).load(item).into(holder.getView(R.id.img))
    }

}